package com.baic.ibase.models.dao;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;


@EqualsAndHashCode(callSuper = true)
@TableName("roles_permissions")
@Data
public class RolesPermissions extends CommonModel{

    @Id
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long rolesId;

    private Long permissionId;

}
